ContainsPoint
TheContainsPoint
method returns a Boolean value that indicates whether the specified point is within the area of this facet.
ODBoolean ContainsPoint (in ODPoint point, in ODCanvas biasCanvas);
point
- The location to test, expressed in frame coordinates.
biasCanvas
kODNULL
if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.- return value
kODTrue
if the specified point is within the area of this facet, otherwisekODFalse
.DISCUSSION
Your part calls its embedded facet'sContainsPoint
method when it needs to do hit-testing on those facets. This method tests the result against the intersection of the clip shape and the active shape.SEE ALSO
TheODPoint
type (page 885).
TheODFacet::ActiveBorderContainsPoint
method (page 232).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help